import axios from './http'
import base from './base'
import qs from 'qs'

const login = {
  loginSucc (params) {
    return axios.post(`${base.pro}/api/profile/getUserInfo`, qs.stringify(params))
  }
}
export default login
